/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.longview.io.modules.grassimgs.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.longview.io.common.persistence.Page;
import com.longview.io.common.service.CrudService;
import com.longview.io.modules.grassimgs.entity.GrassImgs;
import com.longview.io.modules.grassimgs.dao.GrassImgsDao;

/**
 * 分析结果图片Service
 * @author ldn
 * @version 2018-05-09
 */
@Service
@Transactional(readOnly = true)
public class GrassImgsService extends CrudService<GrassImgsDao, GrassImgs> {

	public GrassImgs get(String id) {
		return super.get(id);
	}
	
	public List<GrassImgs> findList(GrassImgs grassImgs) {
		return super.findList(grassImgs);
	}
	
	public Page<GrassImgs> findPage(Page<GrassImgs> page, GrassImgs grassImgs) {
		return super.findPage(page, grassImgs);
	}
	
	@Transactional(readOnly = false)
	public void save(GrassImgs grassImgs) {
		super.save(grassImgs);
	}
	
	@Transactional(readOnly = false)
	public void delete(GrassImgs grassImgs) {
		super.delete(grassImgs);
	}
	
	@Transactional(readOnly = false)
	public void deleteList(GrassImgs grassImgs) {
		// TODO Auto-generated method stub
		dao.deleteList(grassImgs);
	}
	
}